Optimal. Leaf size=35 \[ \frac {1}{2} \tanh ^{-1}\left (\frac {\tanh (x)}{\sqrt {-\text {sech}^2(x)}}\right )-\frac {1}{2} \tanh (x) \sqrt {-\text {sech}^2(x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {3657, 4122, 195, 217, 206} \[ \frac {1}{2} \tanh ^{-1}\left (\frac {\tanh (x)}{\sqrt {-\text {sech}^2(x)}}\right )-\frac {1}{2} \tanh (x) \sqrt {-\text {sech}^2(x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 195
Rule 206
Rule 217
Rule 3657
Rule 4122
Rubi steps
\begin {align*} \int \left (-1+\tanh ^2(x)\right )^{3/2} \, dx &=\int \left (-\text {sech}^2(x)\right )^{3/2} \, dx\\ &=-\operatorname {Subst}\left (\int \sqrt {-1+x^2} \, dx,x,\tanh (x)\right )\\ &=-\frac {1}{2} \sqrt {-\text {sech}^2(x)} \tanh (x)+\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{\sqrt {-1+x^2}} \, dx,x,\tanh (x)\right )\\ &=-\frac {1}{2} \sqrt {-\text {sech}^2(x)} \tanh (x)+\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {\tanh (x)}{\sqrt {-\text {sech}^2(x)}}\right )\\ &=\frac {1}{2} \tanh ^{-1}\left (\frac {\tanh (x)}{\sqrt {-\text {sech}^2(x)}}\right )-\frac {1}{2} \sqrt {-\text {sech}^2(x)} \tanh (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 28, normalized size = 0.80 \[ -\frac {1}{2} \sqrt {-\text {sech}^2(x)} \left (\tanh (x)+2 \cosh (x) \tan ^{-1}\left (\tanh \left (\frac {x}{2}\right )\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.61, size = 1, normalized size = 0.03 \[ 0 \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.12, size = 41, normalized size = 1.17 \[ \frac {\sqrt {-e^{\left (2 \, x\right )}} + \frac {1}{\sqrt {-e^{\left (2 \, x\right )}}}}{{\left (\sqrt {-e^{\left (2 \, x\right )}} + \frac {1}{\sqrt {-e^{\left (2 \, x\right )}}}\right )}^{2} - 4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.12, size = 28, normalized size = 0.80 \[ -\frac {\tanh \relax (x ) \sqrt {-1+\tanh ^{2}\relax (x )}}{2}+\frac {\ln \left (\tanh \relax (x )+\sqrt {-1+\tanh ^{2}\relax (x )}\right )}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 0.46, size = 32, normalized size = 0.91 \[ \frac {-i \, e^{\left (3 \, x\right )} + i \, e^{x}}{e^{\left (4 \, x\right )} + 2 \, e^{\left (2 \, x\right )} + 1} - i \, \arctan \left (e^{x}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.17, size = 27, normalized size = 0.77 \[ \frac {\ln \left (\mathrm {tanh}\relax (x)+\sqrt {{\mathrm {tanh}\relax (x)}^2-1}\right )}{2}-\frac {\mathrm {tanh}\relax (x)\,\sqrt {{\mathrm {tanh}\relax (x)}^2-1}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (\tanh ^{2}{\relax (x )} - 1\right )^{\frac {3}{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________